package com.hngd.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

//控制器注解
@RestController
public class HelloSpring {

    @GetMapping("/hello")
    public String hello(){
        return "hello springBoot";
    }
}
